<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #content {
            border: 1px solid black;
            width: 100%;
            height: 500px;
        }

        h1 {
            text-align: center;
        }

        #blueCircle {
            float: left;
            height: 100px;
            width: 100px;
            border: 1px solid transparent;
            border-radius: 50px;
            background-color: #3598DB;
            color: white;
            text-align: center;
            line-height: 100px;
            margin: 0 30px;
        }

        #triangle {
            float: left;
            height: 100px;
            width: 100px;

            margin: 0 30px;
            position: relative;
        }

        #triangle .text {
            display: block;
            color: white;
            font-size: 12px;
            text-align: center;
            line-height: 100px;
            position: relative;

        }

        #triangle div:nth-child(1) {
            width: 0;
            height: 0;
            float: left;
            position: absolute;
            bottom: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-bottom: 50px solid green;
        }

        #triangle div:nth-child(2) {
            width: 0;
            height: 0;
            float: left;
            position: absolute;
            top: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-top: 50px solid red;
        }

        #triangle div:nth-child(3) {
            width: 0;
            height: 0;
            float: left;
            position: absolute;
            right: 0;
            border-top: 50px solid transparent;
            border-bottom: 50px solid transparent;
            border-right: 50px solid #DFDF43;
        }

        #triangle div:nth-child(4) {
            width: 0;
            height: 0;
            float: left;
            position: absolute;
            left: 0;
            border-top: 50px solid transparent;
            border-bottom: 50px solid transparent;
            border-left: 50px solid #4B4ABA;
        }

        #ring {

            height: 100px;
            width: 100px;
            float: left;
            background-color: red;
            border-radius: 50px;
            position: relative;
            margin: 0 30px;
        }

        #ring div {
            width: 50px;
            height: 50px;
            background-color: #fff;
            position: absolute;
            top: 25px;
            left: 25px;
            border-radius: 25px;
            color: black;
            text-align: center;
            line-height: 50px;
        }
    </style>
</head>

<body>
    <div id="content">
        <h1>CSS TEMPLATES using border radius</h1>
        <div id="blueCircle">BLUE</div>
        <div id="triangle">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <span class="text">TRIANGLE</span>

        </div>
        <div id="ring">

            <div> Red</div>
        </div>
    </div>
</body>

</html>